package org.opens.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.opens.entity.LotteryHistory;
import org.opens.entity.vo.LotteryHistoryModifyWave;
import org.opens.entity.vo.LotteryHistorySumDistribution;

import java.util.List;

public interface LotteryHistoryService {

    public int syncLocalDbFromRemote(String type);

    public IPage<LotteryHistory> page(int pageNumber, int pageSize, LotteryHistory searchParam);

    public List<LotteryHistory> getTheLatest(String type, Integer limit);

    public List<LotteryHistoryModifyWave> getModifyWave(String type, Integer limit);

    public List<LotteryHistorySumDistribution> getSSQLotteryHistorySumDistribution();

}
